package cn.game.aop;

import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
public class MyAdvice {
	
	@Before("execution(public void updateEquip(..))")
	public void before(){
		System.out.println("前置增强、、、");
	}
	
	@AfterReturning(value="execution(public void updateEquip(..))")
	public void afterReturing(){
		System.out.println("后置增强");
	}
	
	
	
	
}
